//
//  MediaListsMedia.m
//  Bespoke
//
//  Created by Cheng on 12/7/10.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "MediaListsMedia.h"

@implementation MediaListsMedia
@synthesize text ;
@synthesize imageArray;
@synthesize video , MediaID , MediaType, WebLink, MLH_html;
@synthesize NS_BeMediaID,NS_Source,NS_Author,NS_lastUpdate, Array_Comment, Array_Notes;
@synthesize x,y,Width, Height;

- (id)MediaID:(int)Media_ID BeMediaID:(NSString *)BeMediaID 
    MediaType:(NSString *)Media_Type WebLink:(NSString *)Web_Link
       Source:(NSString *)Source Author:(NSString *)Author
   lastUpdate:(NSString *)lastUpdate{
        
    self.MediaID = Media_ID;
    self.NS_BeMediaID = BeMediaID;
    self.MediaType = Media_Type;
    self.WebLink = Web_Link;
    self.NS_Source = Source;
    self.NS_Author = Author;
    self.NS_lastUpdate = lastUpdate;
    self.imageArray = [[NSMutableArray alloc] init];
    self.Array_Comment = [[NSMutableArray alloc] init];
    self.Array_Notes = [[NSMutableArray alloc] init];
    
    x=y=Width=Height=0;

    return self;
    
}

- (id)init {
    
    if ((self = [super init])) {
        self.imageArray = [[NSMutableArray alloc] init];
        x=y=Width=Height=0;
    }
    return self;
    
}

@end
